#include "tool.h"

class nn{
    public:
        int input_num;
        Linear* l1;
        int h1_num;
        Linear* l2;
        int h2_num;
        Linear* l3;
        int h3_num;
        Linear* l4;
        int output_num;
        float* input;
        float* res;
        float* res1;
        float* res2;
        float* res3;
        float* res4;
        float* res5;
        float* res6;
        float* res7;
        float* res8;
        nn();
        void forward(float* input,int input_num);
        void backward(float* target,float learning_rate);
};